package com.axjy.item.mapper;

import com.axjy.comm.pojo.TpItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ItemMapper extends BaseMapper<TpItem> {

    @Select("select * from tp_item where item_type1_id=#{itemTypeId}  limit #{top}")
    List<TpItem> find4Floor(@Param("itemTypeId") Integer itemTypeId, @Param("top") Integer top);

}
